{
  "properties" : { },
  "id" : "8b6f62ca2d714a7b82eb541c9e3826b1",
  "script" : null,
  "groupId" : "168ab8e1df704072b606deba835794ac",
  "name" : "语境列表",
  "createTime" : 1741019539115,
  "updateTime" : 1741367987214,
  "lock" : null,
  "createBy" : null,
  "updateBy" : null,
  "path" : "scene",
  "method" : "POST",
  "parameters" : [ ],
  "options" : [ {
    "name" : "require_login",
    "value" : "false",
    "description" : "该接口需要登录才允许访问",
    "required" : false,
    "dataType" : "String",
    "type" : null,
    "defaultValue" : null,
    "validateType" : null,
    "error" : null,
    "expression" : null,
    "children" : null
  } ],
  "requestBody" : "",
  "headers" : [ ],
  "paths" : [ ],
  "responseBody" : "{\n    \"code\": 200,\n    \"message\": \"success\",\n    \"data\": [\n        {\n            \"id\": 1,\n            \"name\": \"职场\",\n            \"parentId\": 0,\n            \"icon\": null\n        },\n        {\n            \"id\": 2,\n            \"name\": \"幽默\",\n            \"parentId\": 1,\n            \"icon\": null\n        },\n        {\n            \"id\": 3,\n            \"name\": \"老实\",\n            \"parentId\": 1,\n            \"icon\": null\n        },\n        {\n            \"id\": 4,\n            \"name\": \"热恋\",\n            \"parentId\": 0,\n            \"icon\": null\n        },\n        {\n            \"id\": 5,\n            \"name\": \"霸道总裁\",\n            \"parentId\": 4,\n            \"icon\": null\n        }\n    ],\n    \"timestamp\": 1740762407297,\n    \"executeTime\": 37\n}",
  "description" : null,
  "requestBodyDefinition" : null,
  "responseBodyDefinition" : null
}
================================
import log

// import cn.dev33.satoken.stp.StpUtil
// var userId = StpUtil.getLoginId()
return db.table("sence").columns("id","name","parent_id","icon").select()